<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="style_form.css" />
	<script language="javascript" src="error_valid.js"></script>
	<title>Form Đơn Vị</title>
</head>

<body>
	<?php
        echo'<form id ="form" name="a" onsubmit="return test_donvi();" method="post" action="">';
            echo'<fieldset>';
                echo'<legend>Thêm Đơn Vị</legend>';
                    echo'<div>';
                        echo'<label for="id_unit">Mã Đơn Vị:</label>';
                        echo"<input type='text' name='id_unit' value='".$_POST["id_unit"]."' size = '20' onblur='test_valid(a.id_unit)' \>";
                    echo'</div>';
                    
                    echo'<div>';
                        echo'<label for="name_faculty">Tên Khoa ĐT:</label>';
                        echo "<input type='text' name='name_faculty' value='".$_POST["name_faculty"]."' size = '50'>";
                    echo'</div>';
                    
                    echo'<div>';
                        echo'<label for="name_subject">Tên Bộ Môn:</label>';
                        echo "<input type='text' name='name_subject' value='".$_POST["name_subject"]."' size = '50'>";
                    echo'</div>';
                    
                    echo'<div>';
                        echo'<input type="submit" name="add" value="THÊM" class="button"/>';
                    echo'</div>';
            echo'</fieldset>';
        echo'</form>';
    ?>
</body>
</html>
